/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tallerfinal.util.enums;

/**
 *
 * @author ricardo
 */
public enum DistributionsName {

    BINOMIAL("Binomial", 2, "p", "n"), CONSTANTE("Constante", 1, "valor"), UNIFORMEDISCRETA("Uniforme Discreta", 2, "Minimo", "Maximo"), EXPONENCIAL("Exponencial", 1, "Lambda"), GAMMA("Gamma", 2, "Alpha", "Beta"), NORMAL("Normal", 2, "Media", "Varianza"), POISSON("Poisson", 1, "Lambda"), TRIANGULAR("Triangular", 3, "a", "b", "c"), UNIFORME("Uniforme", 2, "a", "b"), WEIBULL("Weibull", 2, "Scale", "Shape");
    private int numParams;
    private String displayName;
    private String[] paramNames;

    private DistributionsName(String displayName, int numParams, String... paramNames) {
        this.numParams = numParams;
        this.displayName = displayName;
        this.paramNames = paramNames;
    }

    @Override
    public String toString() {
        return displayName;
    }

    public int getNumParams() {
        return numParams;
    }

    public String[] getParamNames() {
        return paramNames;
    }
}
